package com.xueyi.aixihu.entity.generatedMapper;

import com.xueyi.aixihu.entity.po.DtNews;
import com.xueyi.aixihu.entity.po.DtNewsExample;
import com.xueyi.aixihu.entity.po.DtNewsWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtNewsMapper {
    long countByExample(DtNewsExample example);

    int deleteByExample(DtNewsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtNewsWithBLOBs record);

    int insertSelective(DtNewsWithBLOBs record);

    List<DtNewsWithBLOBs> selectByExampleWithBLOBs(DtNewsExample example);

    List<DtNews> selectByExample(DtNewsExample example);

    DtNewsWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtNewsWithBLOBs record, @Param("example") DtNewsExample example);

    int updateByExampleWithBLOBs(@Param("record") DtNewsWithBLOBs record, @Param("example") DtNewsExample example);

    int updateByExample(@Param("record") DtNews record, @Param("example") DtNewsExample example);

    int updateByPrimaryKeySelective(DtNewsWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(DtNewsWithBLOBs record);

    int updateByPrimaryKey(DtNews record);
}